<?php



?>
<html>
	<head>
		<title>Tools</title>
		<script src="../../../scripts/jquery-1.5.1.js"></script>
		<script src="../../../scripts/chilcoo.currency.exchange.cost.js"></script>
		<script>
			function getOutput(){
				currencyExchangeCost.data.amount = $('#amount').val();
				currencyExchangeCost.data.tax = $('#tax').val();
				currencyExchangeCost.data.drawback = $('#drawback').val();
				currencyExchangeCost.data.fob = $('#fob').val();
				alert(currencyExchangeCost.output());
			}
		</script>
	</head>
	<body>
	<p>
		amount:<br />
		tax:<br />
		drawback:<br />
		fob:
	</p>
	<input type="text" id="amount" size="5">
	<input type="text" id="tax" size="3" value="0.17">
	<input type="text" id="drawback" size="3" value="0.17">
	<input type="text" id="fob" size="5">
	<input type="button" id="output" value="output" onclick="getOutput()">
	</body>
</html>